package cn.stylefeng.guns.modular.team.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 班级
 * </p>
 *
 * @author CHENCHEN
 * @since 2022-07-19
 */
@TableName("team")
public class Team implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 班级号
     */
    @TableField("team_title")
    private String teamTitle;

    /**
     * 专业
     */
    @TableField("specialty_id")
    private Long specialtyId;

    /**
     * 生源渠道
     */
    @TableField("source")
    private String source;

    /**
     * 开班日期
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 计划接班日期
     */
    @TableField("end_time")
    private Date endTime;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 最终结班日期
     */
    @TableField("last_end_time")
    private Date lastEndTime;

    /**
     * 讲师
     */
    @TableField("lecturer_id")
    private Long lecturerId;

    /**
     * 班主任
     */
    @TableField("teacher_id")
    private Long teacherId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTeamTitle() {
        return teamTitle;
    }

    public void setTeamTitle(String teamTitle) {
        this.teamTitle = teamTitle;
    }

    public Long getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(Long specialtyId) {
        this.specialtyId = specialtyId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getLastEndTime() {
        return lastEndTime;
    }

    public void setLastEndTime(Date lastEndTime) {
        this.lastEndTime = lastEndTime;
    }

    public Long getLecturerId() {
        return lecturerId;
    }

    public void setLecturerId(Long lecturerId) {
        this.lecturerId = lecturerId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    @Override
    public String toString() {
        return "Team{" +
        "id=" + id +
        ", teamTitle=" + teamTitle +
        ", specialtyId=" + specialtyId +
        ", source=" + source +
        ", createTime=" + createTime +
        ", endTime=" + endTime +
        ", status=" + status +
        ", lastEndTime=" + lastEndTime +
        ", lecturerId=" + lecturerId +
        ", teacherId=" + teacherId +
        "}";
    }
}
